<?php

/* @var $this \yii\web\View */
/* @var $content string */

/* @var $actCate int */

use app\assets\FrontAsset as Asset;
use yii\helpers\Html;

Asset::register($this);

$isLogin = Yii::$app->user->isGuest ? 'false' : 'true';
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <?= Html::csrfMetaTags() ?>
    <title><?= Html::encode($this->title); ?></title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="favicon" href="/images/front/favicon.png">
    <?= $this->head(); ?>
    <?= $this->registerJs('window.isLogin = ' . $isLogin . ';', $this::POS_HEAD) ?>
</head>
<body>
<?php $this->beginBody(); ?>

<div class="wrap">

    <?= $content ?>

</div>

<?php $this->endBody() ?>
</body>
</html>

<?php $this->endPage() ?>
